package com.example.factory.api.dto;

import com.example.factory.api.dto.form.DtoReportGardingForm;

import java.util.List;

/**
 * @author Lei Tao
 */
public class DtoReportGarding {
    private String guid;
    private String level1Name;
    private String level1Guid;
    private float totalScore;
    private List<DtoReportGarding.Level2> level2s;

    public static class Level2{
        private String level2Guid;
        private String level2Name;
        private float score;

        public String getLevel2Guid() {
            return level2Guid;
        }

        public void setLevel2Guid(String level2Guid) {
            this.level2Guid = level2Guid;
        }

        public String getLevel2Name() {
            return level2Name;
        }

        public void setLevel2Name(String level2Name) {
            this.level2Name = level2Name;
        }

        public float getScore() {
            return score;
        }

        public void setScore(float score) {
            this.score = score;
        }
    }

    public float getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(float totalScore) {
        this.totalScore = totalScore;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getLevel1Name() {
        return level1Name;
    }

    public void setLevel1Name(String level1Name) {
        this.level1Name = level1Name;
    }

    public String getLevel1Guid() {
        return level1Guid;
    }

    public void setLevel1Guid(String level1Guid) {
        this.level1Guid = level1Guid;
    }

    public List<DtoReportGarding.Level2> getLevel2s() {
        return level2s;
    }

    public void setLevel2s(List<DtoReportGarding.Level2> level2s) {
        this.level2s = level2s;
    }
}
